Range
Function
This API is used to get parameter range for Record > Playback Page page.
Request Message
None.
Sample:
POST API/Playback/PlaybackPage/Range HTTP/1.1
{
"version": "1.0"
}
Response Message
Parameter Description
Table 1
| Parameter | Range | Type | Description |
|---|---|---|---|
| FaceAttendance | json object | Show as followTable2 | |
| Normal | Json object | Show as followTable3 | |
| Picture | Json object | Show as followTable3 | |
| HumanVehicle | Json object | Show as followTable3 | |
| PidLcd | Json object | Show as followTable3 | |
| supportFaceAttr | Json object | AI playback page with face attributes of the control. | |
| param_limit | Json object | Show as followTable3 | |
| support_recognize_car_color | array | Supported vehicle colors, see Login > Login > DeviceInfo > Get.md > Table 9 > Vehicle color for more information of the range. | |
| support_recognize_car_type | array | Supported vehicle types, see Login > Login > DeviceInfo > Get.md > Table 9 > Vehicle type for more information of the range. | |
| support_recognize_car_brand | array | Supported vehicle brands, see Login > Login > DeviceInfo > Get.md > Table 9 > Vehicle brand for more information of the range. | |
| support_recognize_person_upper_color | string | Does the device support detecting the color of pedestrians' upper color, see Login > Login > DeviceInfo > Get.md > Table 10 > Upper Color for more information of the range. | |
| support_recognize_person_lower_color | string | Does the device support detecting the color of pedestrians' lower color, see Login > Login > DeviceInfo > Get.md > Table 10 > Lower Color for more information of the range. | |
| support_recognize_person_gender | string | Supported detection of pedestrian gender, see Login > Login > DeviceInfo > Get.md > Table 10 > Gender for more information of the range. | |
| support_recognize_person_age | string | Supported detection of pedestrian age, see Login > Login > DeviceInfo > Get.md > Table 10 > Age for more information of the range. | |
| support_recognize_person_hat | string | Supported detection of pedestrian hat, see Login > Login > DeviceInfo > Get.md > Table 10 > Hat for more information of the range. | |
| support_recognize_person_glasses | string | Supported detection of pedestrian glasses, see Login > Login > DeviceInfo > Get.md > Table 10 > Glasses for more information of the range. | |
| support_recognize_person_sleeve_length | string | Supported detection of pedestrian sleeve length, see Login > Login > DeviceInfo > Get.md > Table 10 > Sleeve type for more information of the range. | |
| support_recognize_person_lower_type | string | Supported detection of pedestrian lower type, see Login > Login > DeviceInfo > Get.md > Table 10 > Bottom type for more information of the range. | |
| support_recognize_person_bag | string | Supported detection of pedestrian bag, see Login > Login > DeviceInfo > Get.md > Table 10 > Backpacking for more information of the range. | |
| support_recognize_person_toward | string | Supported detection of pedestrian toward, see Login > Login > DeviceInfo > Get.md > Table 10 > Orientation for more information of the range. |
Table 2
| Parameter | Range | Type | Description |
|---|---|---|---|
| off_duty_time | string | The time format is “hh:mm:ss” | |
| on_duty_time | string | The time format is “hh:mm:ss” | |
| working_days | "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" | string array | workday |
Table 3
| Parameter | Range | Type | Description |
|---|---|---|---|
| display_mode | “Treelike”, “Checkbox” | int | UI display type |
| default_sort_of_results | int | Search information in default or reverse order. | |
| items | int | Show as followTable4 | |
| similarity_face | int | Control the range and default value of the IE playback Face Detection similarity input box. | |
| similarity_customer | int | Control the Fault-tolerant input field and the default value of the IE playback License Plate. | |
| similarity_license | int | The range and default value of the similarity input box controlling the IE playback of Repeat customer. |
Table 4
| Parameter | Range | Type | Description |
|---|---|---|---|
| record_type | Json object | Playback Type Show as followTable5 | |
| stream_mode | “Mainstream”, “Substream” | string | Primary substream type (Normal only has this field) |
Table 5
| Parameter | Range | Type | Description |
|---|---|---|---|
| normal | bool | normal | |
| manual | bool | manual | |
| alarm | Json object | Show as followTable6 (For IPC only) | |
| smart | Json object | Show as followTable7 (For IPC only) | |
| Human | bool | AI Human (For NVR only) | |
| Vehicle | bool | AI Vehicle (For NVR only) | |
| IO | bool | IO alarm record type (For NVR only) | |
| motion | bool | Motion alarm record type (For NVR only) | |
| PIR | bool | Pir (For NVR only) | |
| Sound | bool | Audible alarm (For NVR only) | |
| occulusion | bool | Lens blocked (For NVR only) | |
| Intelligent | bool | intelligent analysis (For NVR only) | |
| PID | bool | AI perimeter intrusion (For NVR only) | |
| LCD | bool | AI Overline detection (For NVR only) | |
| faceAttr | bool | Face attribute (For NVR only) |
Table 6
| Parameter | Range | Type | Description |
|---|---|---|---|
| IO | Json object | IO alarm record type | |
| motion | Json object | Motion alarm record type | |
| PIR | Json object | Pir | |
| Sound | Json object | Audible alarm | |
| Netbreak | Json object | disconnected record |
Table 7
| Parameter | Range | Type | Description |
|---|---|---|---|
| PID | bool | ||
| LCD | bool | ||
| SOD | bool | ||
| PD | bool | ||
| FD | bool | ||
| CC | bool | ||
| intrusion | bool | ||
| regionEntrance | bool | ||
| regionExiting | bool |
Tips:
The response message of the Range request may not contain all the fields in the above table, and the fields not included indicate that the device does not support this parameter configuration.
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"version": "1.0",
"result": "success",
"data": {
"Normal": {
"type": "object",
"items": {
"record_type": {
"type": "object",
"items": {
"normal": {
"type": "bool"
},
"event": {
"type": "object",
"items": {
"manual": {
"type": "bool"
},
"IO": {
"type": "bool"
},
"motion": {
"type": "bool"
},
"Sound": {
"type": "bool"
},
"occulusion": {
"type": "bool"
}
}
},
"ai": {
"type": "object",
"items": {
"fd": {
"type": "bool"
},
"pd&vd": {
"type": "bool"
},
"pid": {
"type": "bool"
},
"lcd": {
"type": "bool"
},
"sod": {
"type": "bool"
},
"cc": {
"type": "bool"
},
"cd": {
"type": "bool"
},
"qd": {
"type": "bool"
},
"intrusion": {
"type": "bool"
},
"regionEntrance": {
"type": "bool"
},
"regionExiting": {
"type": "bool"
},
"lpd": {
"type": "bool"
},
"rsd": {
"type": "bool"
},
"thermal": {
"type": "bool"
},
"faceAttr": {
"type": "bool"
}
}
}
}
},
"stream_mode": {
"type": "string",
"mode": "r",
"items": [
"Mainstream",
"Substream"
],
"default_value": "Substream"
}
},
"display_mode": "Treelike",
"recordColorArr": [
{
"normal": 1
},
{
"motion": 4
},
{
"IO": 8
},
{
"PIR": 65536
},
{
"ai": 128
},
{
"alarm": 2
},
{
"manual": 16384
}
]
},
"Smart": {
"type": "object",
"items": {
"record_type": {
"type": "object",
"items": {
"normal": {
"type": "bool"
},
"event": {
"type": "object",
"items": {
"manual": {
"type": "bool"
},
"IO": {
"type": "bool"
},
"motion": {
"type": "bool"
},
"Sound": {
"type": "bool"
},
"occulusion": {
"type": "bool"
}
}
},
"ai": {
"type": "object",
"items": {
"fd": {
"type": "bool"
},
"pd&vd": {
"type": "bool"
},
"pid": {
"type": "bool"
},
"lcd": {
"type": "bool"
},
"sod": {
"type": "bool"
},
"cc": {
"type": "bool"
},
"cd": {
"type": "bool"
},
"qd": {
"type": "bool"
},
"intrusion": {
"type": "bool"
},
"regionEntrance": {
"type": "bool"
},
"regionExiting": {
"type": "bool"
},
"lpd": {
"type": "bool"
},
"rsd": {
"type": "bool"
},
"thermal": {
"type": "bool"
},
"faceAttr": {
"type": "bool"
}
}
}
}
},
"stream_mode": {
"type": "string",
"items": [
"Mainstream",
"Substream"
]
}
},
"display_mode": "Treelike"
},
"Picture": {
"type": "object",
"items": {
"record_type": {
"type": "object",
"items": {
"normal": {
"type": "bool"
},
"event": {
"type": "object",
"items": {
"manual": {
"type": "bool"
},
"motion": {
"type": "bool"
},
"IO": {
"type": "bool"
},
"PIR": {
"type": "bool"
}
}
}
}
}
},
"display_mode": "Treelike",
"default_sort_of_results": 0
},
"HumanVehicle": {
"type": "object",
"items": {
"record_type": {
"type": "object",
"items": {
"Human": {
"type": "bool"
},
"Vehicle": {
"type": "bool"
},
"Non-Vehicle": {
"type": "bool"
}
}
}
},
"display_mode": "Checkbox"
},
"PidLcd": {
"type": "object",
"items": {
"record_type": {
"type": "object",
"items": {
"pid": {
"type": "bool"
},
"lcd": {
"type": "bool"
}
}
}
},
"display_mode": "Checkbox"
},
"LicensePlate": {
"type": "object",
"items": {
"plate_keys": {
"type": "string",
"min_len": 1,
"max_len": 16
},
"max_error_char": {
"type": "int32",
"min": 0,
"max": 5,
"default_value": 3
}
}
},
"supportFaceAttr": true,
"FaceAttendance": {
"working_days": [
"Mon.",
"Tue.",
"Wed.",
"Thu.",
"Fri."
],
"on_duty_time": "08:30:00",
"off_duty_time": "17:30:00"
},
"param_limit": {
"type": "object",
"items": {
"similarity_face": {
"type": "int32",
"mode": "rw",
"min": 0,
"max": 100,
"default_value": 70
},
"similarity_customer": {
"type": "int32",
"mode": "rw",
"min": 0,
"max": 100,
"default_value": 50
},
"similarity_license": {
"type": "int32",
"mode": "rw",
"min": 0,
"max": 5,
"default_value": 3
}
}
},
"support_recognize_car_color": [
"yellow",
"orange",
"green",
"gray",
"red",
"blue",
"white",
"brown",
"black",
"purple",
"other"
],
"support_recognize_car_type": [
"Car",
"Van",
"SUV",
"Truck",
"Bus",
"Other"
],
"support_recognize_car_brand": [
"Acura",
"Alfa Romeo",
"Aston Martin",
"Audi",
"Bentley",
"Benz",
"BMW",
"Buick",
"Cadillac",
"Chevy",
"Chrysler",
"Citroen",
"Dacia",
"Dodge",
"DS",
"Ferrari",
"FIAT",
"Ford",
"GMC",
"Honda",
"Hyundai",
"Infiniti",
"Jaguar",
"Jeep",
"KIA",
"Lamborghini",
"LAND-ROVER",
"Lexus",
"Lincoln",
"Lotus",
"MAZDA",
"McLaren",
"MINI",
"Mitsubishi",
"Nissan",
"Opel",
"Pagani",
"Peugeot",
"Porsche",
"Renault",
"Rolls-Royce",
"Scion",
"Seat",
"Skoda",
"Smart",
"Subaru",
"Suzuki",
"Tesla",
"Toyota",
"Volkswagen",
"Volvo",
"Other"
],
"support_recognize_person_upper_color": [
"UpperBlack",
"UpperGrey",
"UpperBlue",
"UpperWhite",
"UpperBrown",
"UpperRed",
"UpperPink",
"UpperGreen",
"UpperOrange",
"UpperYellow",
"UpperPurple",
"Other"
],
"support_recognize_person_lower_color": [
"LowerBlack",
"LowerGrey",
"LowerBlue",
"LowerWhite",
"LowerBrown",
"LowerRed",
"LowerPink",
"LowerGreen",
"LowerOrange",
"LowerYellow",
"LowerPurple",
"Other"
],
"support_recognize_person_gender": [
"Male",
"Female"
],
"support_recognize_person_age": [
"Senior",
"Adult",
"Minor",
"Other"
],
"support_recognize_person_hat": [
"No",
"Yes"
],
"support_recognize_person_glasses": [
"No",
"Yes"
],
"support_recognize_person_sleeve_length": [
"ShortSleeve",
"LongSleeve",
"Other"
],
"support_recognize_person_lower_type": [
"Trousers",
"Shorts",
"Skirt&Dress",
"Other"
],
"support_recognize_person_bag": [
"No",
"HandBag",
"ShoulderBag",
"Backpack"
],
"support_recognize_person_toward": [
"Front",
"Side",
"Back",
"Other"
]
}
}
Error Code
See Response Messages Body and Common error_code for more information.